home *** CD-ROM | disk | FTP | other *** search
/ IRIX 5.3 for Indy R4400 / IRIX 5.3 for Indy R4400 175MHz.img / CDgrelnotes next >
Text File  |  1995-02-28  |  418b  |  24 lines

  1. #!/bin/sh
  2.  
  3. dirname()
  4. {
  5. ans=`/usr/bin/expr \
  6.         "${1:-.}/" : '\(/\)/*[^/]*//*$' `
  7. if [ -n "$ans" ];then
  8.         echo $ans
  9. else
  10.         ans=`/usr/bin/expr \
  11.                 "${1:-.}/" : '\(.*[^/]\)//*[^/][^/]*//*$' `
  12.         if [ -n "$ans" ];then
  13.                 echo $ans
  14.         else
  15.                 echo "."
  16.         fi
  17. fi
  18. exit 0
  19. }
  20.  
  21. SRCDIR=`dirname $0`/relnotes/
  22.  
  23. grelnotes -xrm "Grelnotes*relnotesPath: $SRCDIR"
  24.